import request from "@/utils/request";

// 获取详细信息
export function getProductList(data) {
  return request({
    url: "api/authoring/productManagement/getProductList",
    method: "post",
    params: data
  });
}

// 组合产品
export function groupProducts(data) {
  return request({
    url: "api/authoring/productManagement/groupProducts",
    method: "post",
    params: data
  });
}

// 删除组合产品
export function delGroupProduct(productId) {
  return request({
    url: "/api/authoring/productManagement/delGroupProduct/" + productId,
    method: "delete"
    // params: data
  });
}
